/*
 * @Author: your name
 * @Date: 2020-07-28 21:21:41
 * @LastEditTime: 2020-08-09 10:46:14
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \H52002-VueMobile-accp\honeybud\vue.config.js
 */
const path = require('path');
module.exports = {
    // publicPath:'/static',
    lintOnSave:false,
    chainWebpack:config=>{
        config.resolve.alias
        .set('components',path.resolve(__dirname,'./src/components'))
        .set('assets',path.resolve(__dirname,'./src/assets'))
        .set('views',path.resolve(__dirname,'./src/views'))
        .set('utils',path.resolve(__dirname,'./src/utils'))
    },
    devServer:{
        proxy:{
            '/plus':{
                target:'https://m.miabaobei.com',
                changeOrigin:true
            },
            '/instant':{
                target:'https://m.miabaobei.com',
                changeOrigin:true
            },
            '/item':{
                target:'https://p.miabaobei.com',
                secure:true,
                changeOrigin:true
            },
        }
    },
    
}

